<h1>New user</h1>

<%= error_messages_for :user %>

<% form_for(@user) do |f| %>
  <p>
    <b>Username</b><br />
    <%= f.text_field :username %>
  </p>

  <p>
    <b>Password</b><br />
	<%= f.password_field :password %>
    <%= f.password_field :password_confirmation %>

  </p>

  <p>
    <b>Email</b><br />
    <%= f.text_field :email %>
  </p>
  
  <p><%= recaptcha_tags %></p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', users_path %>
